package br.com.strings;

public class AppStringBuilder2 {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		StringBuilder s = new StringBuilder("012345678 ");
		
		if (s.length() == 10)
			s.insert(10,"abcdef");
		s.delete(3, 8);
		System.out.println(s);
		System.out.println(s.indexOf("c"));
		
	}

}
